<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>

<%= "login" %>
 <% if flash[:message] %><div><%= flash[:message] %></div><% end %>
  <% if flash[:error] %><div><%=  flash[:error] %></div><% end %>

  <% form_tag (:action => "process_login") do %>
   Username: <%= text_field "user", "name" %>&#x00A;
    Password: <%= password_field "user", "password" %>&#x00A;
    <%= submit_tag %>
  <% end %>